﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ICartItemService.cs" company="DST Nexdox">
//   Copyright (c) DST Nexdox. All rights reserved.
// </copyright>
// <summary>
//   Defines the ICartItemService type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace ServiceInterfaces
{
  using System;
  using System.Collections.Generic;
  using Entities;

  public interface ICartItemService
  {
    AddToCartResults AddGrid(String userName, String cartId, String grid);

    AddToCartResults AddItems(String userName, String cartId, IEnumerable<String> documentIds);

    void RemoveItem(String documentId, String cartId);

    PagedResult<CartItem> GetCartItems(String cartId, Int32 pageNumber, Int32 numberOfItems);

    IList<CartItem> GetCart(String cartId);

    Int32 GetNumberOfItemsInCart(String cartId);

    void ClearCart(String cartId);
  }
}
